package org.edu.modules.jxzy.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.modules.jxzy.config.ConfigConstant;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.edu.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 教材订单表
 * @Author: jeecg-boot
 * @Date:   2021-04-14
 * @Version: V1.0
 */
@Data
@TableName("ve_jw_jiaocai_order")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ve_jw_jiaocai_order对象", description="教材订单表")
public class JwJiaocaiOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**订单id*/
	@Excel(name = "订单id", width = 15)
    @ApiModelProperty(value = "订单id")
    private String orderid;
	/**教材id*/
	@Excel(name = "教材id", width = 15)
    @ApiModelProperty(value = "教材id")
    @Dict(dictTable =  "ve_jw_jiaocai",dicCode = "id",dicText = "JCMC")
    private Integer jcid;

    @TableField(exist = false)
    private JwJiaocai jiaocai;

    @TableField(exist = false)
    private String jcdm;

    @TableField(exist = false)
    private String jcmc;


    /**仓库Id*/
	@Excel(name = "仓库Id", width = 15)
    @ApiModelProperty(value = "仓库Id")
    @Dict(dictTable =  "ve_jw_cangku",dicCode = "id",dicText = "name")
    private Integer ckid;
	/**采购价格*/
	@Excel(name = "采购价格", width = 15)
    @ApiModelProperty(value = "采购价格")
    private BigDecimal price;
	/**采购数量*/
	@Excel(name = "采购数量", width = 15)
    @ApiModelProperty(value = "采购数量")
    private Integer num;
	/**采购对象*/
	@Excel(name = "采购对象", width = 15)
    @ApiModelProperty(value = "采购对象")
    private String buyobj;
	/**联系人*/
	@Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
    private String contact;
	/**联系电话*/
	@Excel(name = "联系电话", width = 15)
    @ApiModelProperty(value = "联系电话")
    private String contacttel;
	/**采购备注*/
	@Excel(name = "采购备注", width = 15)
    @ApiModelProperty(value = "采购备注")
    private String memo;
	/**订单创建者*/
	@Excel(name = "订单创建者", width = 15)
    @ApiModelProperty(value = "订单创建者")
    private Integer adduserid;
	/**订单创建时间*/
	@Excel(name = "订单创建时间", width = 15)
    @ApiModelProperty(value = "订单创建时间")
    private Integer addtime;
	/**0未入库 1已入库*/
	@Excel(name = "0未入库 1已入库", width = 15)
    @ApiModelProperty(value = "0未入库 1已入库")
    @Dict(dicCode = "inventory_state")
    private Integer status;
	/**终端Id*/
	@Excel(name = "终端Id", width = 15)
    @ApiModelProperty(value = "终端Id")
    private Integer terminalid;
	/**供应商ID*/
	@Excel(name = "供应商ID", width = 15)
    @ApiModelProperty(value = "供应商ID")
    @Dict(dictTable =  "ve_jw_jiaocai_supplier",dicCode = "id",dicText = "name")
    private Integer supplierid;

}
